<?php
session_start();
include_once("function_right.php");
if(!JudgeUserRight()) return FALSE;
?>

<?php
include "function_log_config.php";

$in_array['Name'] = "";
$in_array['Enabled'] = "1";
$in_array['ServerAddress']= $_POST['syslog_addr'];
$in_array['ServerPort']= $_POST['syslog_port'];

SetXmlLogServerInfo($in_array);

include_once "function_misc_log.php";
logger("Modify", $in_array, "Sys_Log");

echo("<meta http-equiv='refresh'content=0;URL='log_conf_server.php'>");   

?>
